import jade.core.AID;
import jade.core.Agent;
import jade.lang.acl.ACLMessage;


public class recieve extends Agent{
	protected void setup(){
		System.out.println("le nom est: "+getLocalName());
		ACLMessage messageRecu = receive();
		System.out.println("message recu "+messageRecu);
		ACLMessage message =null ;
		while (message == null){
			message = receive() ;
		}
		System.out.println(message);
	}
}